package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.ReceiptDTO;
import com.arpa.wms.domain.entity.Receipt;
import com.arpa.wms.domain.vo.ReceiptVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 仓库收款单 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
public interface ReceiptMapper extends BaseMapper<Receipt> {

    /**
     * 查询列表
     * @param receiptDTO
     * @return
     */
    List<ReceiptVO> queryList(ReceiptDTO receiptDTO);

    /**
     * 查询合计,包含总数
     * @param receiptDTO
     * @return
     */
    ReceiptVO queryListSum(ReceiptDTO receiptDTO);
}
